package com.flower.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.flower.domain.dto.buyer.address.AddressDto;
import com.flower.domain.entity.Address;

import java.util.List;

public interface AddressService extends IService<Address> {
    List<Address> getAddressList(Long buyerId);
    void addAddress(AddressDto addressDto);
    void updateAddress(AddressDto addressDto);
    void deleteAddress(Integer addressId, Long buyerId);
    void setDefaultAddress(Integer addressId, Long buyerId);
} 